/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Starshield.Model
{

    /// <summary>
    ///  pageRule
    /// </summary>
    public class PageRule
    {

        ///<summary>
        /// API条目标识符标签
        ///</summary>
        public string Id{ get; set; }
        ///<summary>
        /// 对请求进行评估的目标
        ///</summary>
        public List<Target> Targets{ get; set; }
        ///<summary>
        /// 如果此规则的目标与请求相匹配，要执行的一系列行动。行动可以将网址重定向到另一个网址或覆盖设置（但不能同时进行）。
        ///</summary>
        public List<JDCloudSDK.Starshield.Model.Action> Actions{ get; set; }
        ///<summary>
        /// 一个数字，表示一个页面规则优先于另一个页面规则。
        /// 如果您可能有一个全面页面规则（例如#1 &#39;/images/&#39;）
        /// 但是想要更具体的规则优先（例如#2 &#39;/images/special/），
        /// 您需要在后者（#2）上指定更高的优先级，以便它将覆盖第一个优先级。
        /// 
        ///</summary>
        public int? Priority{ get; set; }
        ///<summary>
        /// 页面规则的状态
        ///</summary>
        public string Status{ get; set; }
        ///<summary>
        /// 上次修改页面规则的时间
        ///</summary>
        public string Modified_on{ get; set; }
        ///<summary>
        /// 创建页面规则时间
        ///</summary>
        public string Created_on{ get; set; }
    }
}
